<div class="newproducts view">
<h2><?php  __('Newproduct');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newproduct['Newproduct']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($newproduct['User']['username'], array('controller' => 'users', 'action' => 'view', $newproduct['User']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('City'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($newproduct['City']['name'], array('controller' => 'cities', 'action' => 'view', $newproduct['City']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('District'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($newproduct['District']['name'], array('controller' => 'districts', 'action' => 'view', $newproduct['District']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Career'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($newproduct['Career']['name'], array('controller' => 'careers', 'action' => 'view', $newproduct['Career']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newproduct['Newproduct']['name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hit'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newproduct['Newproduct']['hit']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Price'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newproduct['Newproduct']['price']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Short Description'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newproduct['Newproduct']['short_description']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Description'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newproduct['Newproduct']['description']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nsx'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newproduct['Newproduct']['nsx']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ncc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newproduct['Newproduct']['ncc']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Newproduct', true), array('action' => 'edit', $newproduct['Newproduct']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Newproduct', true), array('action' => 'delete', $newproduct['Newproduct']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $newproduct['Newproduct']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Newproducts', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Newproduct', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Cities', true), array('controller' => 'cities', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New City', true), array('controller' => 'cities', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Districts', true), array('controller' => 'districts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New District', true), array('controller' => 'districts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Careers', true), array('controller' => 'careers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Career', true), array('controller' => 'careers', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Newproduct Images', true), array('controller' => 'newproduct_images', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Newproduct Image', true), array('controller' => 'newproduct_images', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Newproduct Images');?></h3>
	<?php if (!empty($newproduct['NewproductImage'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Newproduct Id'); ?></th>
		<th><?php __('Filename'); ?></th>
		<th><?php __('Mimetype'); ?></th>
		<th><?php __('Dir'); ?></th>
		<th><?php __('Filesize'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($newproduct['NewproductImage'] as $newproductImage):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $newproductImage['id'];?></td>
			<td><?php echo $newproductImage['newproduct_id'];?></td>
			<td><?php echo $newproductImage['filename'];?></td>
			<td><?php echo $newproductImage['mimetype'];?></td>
			<td><?php echo $newproductImage['dir'];?></td>
			<td><?php echo $newproductImage['filesize'];?></td>
			<td><?php echo $newproductImage['created'];?></td>
			<td><?php echo $newproductImage['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'newproduct_images', 'action' => 'view', $newproductImage['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'newproduct_images', 'action' => 'edit', $newproductImage['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'newproduct_images', 'action' => 'delete', $newproductImage['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $newproductImage['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Newproduct Image', true), array('controller' => 'newproduct_images', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
